The difference between a DLL and an EXE is the presence of an entrypoint (usually Main()).